from django.views.decorators.http import require_http_methods
from ..config.enum_config import RequestMethod
from ..services.print_services import PrintService
from ..lib.utils import unite_response


@require_http_methods(["GET"])
def print_manager(request):
    if request.method == RequestMethod.REQ_GET:
        response = PrintService(request).print_hello()
    return unite_response(request, locals())
